package com.neuedu.demoweb.web.framework;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Controller控制器接口，所有的控制器都需要实现该接口
 * 
 * 
 * @author chens
 *
 */
public interface ServletController {

	/**
	 * 所有控制器类都需要实现本方法
	 * 
	 * @param request
	 * @param response
	 * @throws IOException
	 */
	public  void doService(HttpServletRequest request, HttpServletResponse response) throws IOException;
}
